package com.example.web.dao;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import com.example.web.bo.DemoBO;
import com.outstanding.framework.core.PendingException;


/**
 * 该操作都是需要事务控制的，所以该接口没有@Service注解。
 * @author Devin
 *
 */
@Service
@Repository
public interface TransactionDAO {
	
	
	
	public List<DemoBO> select() throws PendingException;
	
	public int insert(DemoBO b) throws PendingException ;
	
	public int update(DemoBO b) throws PendingException ;
	
	
	
}
